.main-section {
    background-image: url(./../../images/services.webp);
    background-position: center;
    height: 500px;
    background-size: 100%;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .main-section {
        height: auto;
        background-image: url("./../../images/projects-bg-1.webp") !important;
    }
}

.head-loader {
    position: relative;
}

.head-loader span {
    position: absolute;
    color: #fff;
    transform: translate(0%, -50%);
    font-size: 30px;
    letter-spacing: 0;
    white-space: nowrap;
    font-family: BigVesta;
}

@media (max-width: 768px) {
    .head-loader span {
        font-size: 18px;
    }
}

.head-loader span:nth-child(1) {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
}

.head-loader span:nth-child(2) {
    color: var(--sec);
    -webkit-text-stroke: 1px var(--sec);
    animation: uiverse723 3s ease-in-out infinite;
}

@keyframes uiverse723 {
    0%,
    100% {
        clip-path: polygon(
            0% 45%,
            15% 44%,
            32% 50%,
            54% 60%,
            70% 61%,
            84% 59%,
            100% 52%,
            100% 100%,
            0% 100%
        );
    }

    50% {
        clip-path: polygon(
            0% 60%,
            16% 65%,
            34% 66%,
            51% 62%,
            67% 50%,
            84% 45%,
            100% 46%,
            100% 100%,
            0% 100%
        );
    }
}

.main-section .des {
    text-align: justify;
}

/* .main-section .head {
    border-right: 3px solid var(--sec);
    padding-right: 9px;
}
.service .head {
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
}

.service .head::before {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    background-color: var(--sec);
    bottom: -10px;
    right: 0;
    transform: translate(0, 10px);
}

.service .head::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background-color: var(--sec);
    bottom: -5px;
    right: 0;
    transform: translate(0, 10px);
}
*/
.service .card-service .border-bottom {
    border-bottom: 2px dashed var(--primary) !important;
}

.service .card-service .img {
    width: 250px;
    height: 250px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.service .card-service .position-relative {
    width: 250px;
    height: 250px;
    margin: auto;
}

.service .card-service .position-relative::after,
.service .card-service .position-relative::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    z-index: -1;
    transition: 0.5s;
}

.service .card-service .position-relative::before {
    transform: scale(1.1);
    border-right: 3px solid var(--sec);
    border-left: 3px solid var(--sec);
}

.service .card-service .position-relative::after {
    transform: scaleX(1.2) scaleY(1.05);
    border-top: 3px solid var(--sec);
    border-bottom: 3px solid var(--sec);
}

.service .card-service:hover .position-relative::before {
    transform: scale(1.2);
}

.service .card-service:hover .position-relative::before {
    transform: scale(1.1);
}

.service .card-service:hover .position-relative::after {
    transform: scaleX(1.2) scaleY(1.1);
}

.service .card-service .name {
    background-color: var(--sec);
    color: white;
    height: 80px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
}

.service .card-service .des {
    text-align: justify;
}
